/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package minesweeper.gameover;

import java.util.EventObject;
import minesweeper.components.Sector;

/**
 *
 * @author cj
 */
public class GameOverEvent extends EventObject{

    protected long endTime;
    protected Sector triggerSector;

    public GameOverEvent(Sector triggerSector, long endTime){
        super(triggerSector);
        this.endTime = endTime;
        this.triggerSector = triggerSector;
    }

    public long getEndTime(){
        return this.endTime;
    }
    
    public Sector getTriggerSector(){
        return this.triggerSector;
    }

}
